// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
import '@/styles/index.scss'; // 全局的 css
import './icons'; // icon
import plugins from './plugins'; // 导入自定义插件
import api from './api'; // 导入自定义插件
import Vant from 'vant';
import 'vant/lib/vant-css/index.css';

Vue.use(Vant);
Vue.config.productionTip = false;
Vue.use(plugins);
Vue.use(api);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
});
